package com.lekang.service;

import java.util.List;
import com.lekang.domain.LeaveApprovalRecord;

/**
 * 请假审批记录Service接口
 * 
 * @author ruoyi
 * @date 2025-10-14
 */
public interface ILeaveApprovalRecordService 
{
    /**
     * 查询请假审批记录
     * 
     * @param id 请假审批记录主键
     * @return 请假审批记录
     */
    public LeaveApprovalRecord selectLeaveApprovalRecordById(Long id);

    /**
     * 查询请假审批记录列表
     * 
     * @param leaveApprovalRecord 请假审批记录
     * @return 请假审批记录集合
     */
    public List<LeaveApprovalRecord> selectLeaveApprovalRecordList(LeaveApprovalRecord leaveApprovalRecord);

    /**
     * 新增请假审批记录
     * 
     * @param leaveApprovalRecord 请假审批记录
     * @return 结果
     */
    public int insertLeaveApprovalRecord(LeaveApprovalRecord leaveApprovalRecord);

    /**
     * 修改请假审批记录
     * 
     * @param leaveApprovalRecord 请假审批记录
     * @return 结果
     */
    public int updateLeaveApprovalRecord(LeaveApprovalRecord leaveApprovalRecord);

    /**
     * 批量删除请假审批记录
     * 
     * @param ids 需要删除的请假审批记录主键集合
     * @return 结果
     */
    public int deleteLeaveApprovalRecordByIds(Long[] ids);

    /**
     * 删除请假审批记录信息
     * 
     * @param id 请假审批记录主键
     * @return 结果
     */
    public int deleteLeaveApprovalRecordById(Long id);
}
